<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<h3>字符串，整数，布尔，数组</h3>
		<script>
			var str="javascript";
			console.log(str);
			
			var i =100;
			console.log(i);
			
			var isman=true;
			console.log(isman);
			
			var hobby = ["乒乓球","唱歌","爬山","it计算机","篮球"]
			console.log(hobby);
			console.log(hobby[0]);
			console.log(hobby[hobby.length-1])
		</script>
	</body>
</html>
